﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
using DatabaseInterface;


namespace Invent
{
    public partial class frmProjectForm : Form
    {
       
        private bool isEdit;

        public frmProjectForm(DBInterface db, bool IsEdit)
        {
            InitializeComponent();
            //DataBase = db;
            isEdit = IsEdit;

            if (IsEdit)
            {
                btnActButton.Text = "Сохранить";
            }
            else
            {
                btnActButton.Text = "Добавить";
            }
        }
    }
}
